<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
<%@ taglib uri="/mytag" prefix="yjd"%>
<div class="wrap">
    <div class="nav">
        <div class="return">
            <a href='<yjd:url url="/notice/list"/>'>返回上一页</a>
        </div>
    </div>
    <!-- start -->
    <form method="post" enctype="multipart/form-data" class="J_ajaxForm" autocomplete="off" action='<yjd:url url="/notice/add/submit"/>'>
        <div class="table_full">
            <table width="100%">
                <tr>
                    <th width="200">公告标题:</th>
                    <td>
                        <input name="title" type="text" class="input length_5" value="${noticeModel.title}">
                        <input name="id" type="hidden" class="input length_5" value="${noticeModel.id}">
                    </td>
                </tr>
                <tr>
                    <th width="200">开始时间:</th>
                    <td>
                        <input name="start_time_str" type="text" class="input length_3 mr5 J_datetime date offchange" value="${noticeModel.strMap.start_time_str}">
                    </td>
                </tr>
                <tr>
                    <th width="200">截止时间:</th>
                    <td>
                        <input name="end_time_str" type="text" class="input length_3 mr5 J_datetime date offchange" value="${noticeModel.strMap.end_time_str }"/>
                    </td>
                </tr>
                <tr>
                    <th>案例详情:</th>
                    <td>
                        <textarea name="content" class="J_editor">${noticeModel.content}</textarea>
                    </td>
                </tr>
            </table>
        </div>
        <input class="btn btn_submit J_ajax_submit_btn" type="submit" value="确认保存">
    </form>
</div>

<script>
    YJD.use('AppAdminCommon');
</script>
